@layout("/common/_form.html",{js:["/assets/nanScene/nanScene_add.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="nanSceneForm" lay-filter="nanSceneForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">类型</label>
                        <div class="layui-input-block">
                            <select id="type" name="type" lay-filter="type" lay-verify="required" required>
                                <option value="">-请选择-</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">未选中图</label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn layui-icon layui-icon-picture" id="img">上传图片</button>
                            <div class="layui-upload-wrap">
                                <input type="hidden" name="img" lay-verify="required" required/>
                                <img class="layui-upload-img" id="imgImgPreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">选中图</label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn layui-icon layui-icon-picture" id="imgSel">上传图片</button>
                            <div class="layui-upload-wrap">
                                <input type="hidden" name="imgSel" lay-verify="required" required/>
                                <img class="layui-upload-img" id="imgSelImgPreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label layui-form-required">趣味称呼</label>
                        <div class="layui-input-block">
                            <input id="nickName" name="nickName" lay-verify="required" required placeholder="请输入趣味称呼" type="text" class="layui-input"  />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label layui-form-required">专业称呼</label>
                        <div class="layui-input-block">
                            <input id="name" name="name" lay-verify="required" required  placeholder="请输入专业称呼" type="text" class="layui-input"  />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label layui-form-required">开始指令</label>
                        <div class="layui-input-block">
                            <input id="orderCode" name="orderCode" lay-verify="required" required placeholder="请输入指令编码" type="text" class="layui-input"  />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label layui-form-required">结束指令</label>
                        <div class="layui-input-block">
                            <input id="closeCode" name="closeCode" lay-verify="required" required placeholder="请输入指令编码" type="text" class="layui-input"  />
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>

@}
